﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ESI_TBConfigList.aspx.cs" Inherits="Task.ESI_TBConfigList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="style/task.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="divQuery" runat="server">
    <asp:Label ID="Label1" runat="server" Text="流程名称"></asp:Label><asp:TextBox ID="txtProcessName"
        runat="server"></asp:TextBox>
        <asp:Button ID="btnQuery" runat="server" Text="查询" onclick="btnQuery_Click" />
       </div>
    <div class="daiban">
        <table class="listTable" >
        <tr class="bg">
        <th></th>
        <th>
        流程名称
        </th>
         <th>
        步骤名称
        </th>
        <th>
        编辑
        </th>
        <th>
        删除
        </th>
        <th>
        复制步骤
        </th>        
        </tr>
            <asp:Repeater ID="Repeater1" runat="server" 
                onitemcommand="Repeater1_ItemCommand">
            <ItemTemplate>
            <tr>
            <td>
            <input type="checkbox" />
            </td>
            <td>
                <%#Eval("ProcessName")%>
            </td>
             <td>
                <%#Eval("StepName")%>
            </td>
            <td>
                <a href="ESI_TBConfigDetail.aspx?ProcessName=<%#Eval("ProcessName")%>&StepName=<%#Eval("StepName")%>" >编辑</a>
            </td>
            <td>
                <asp:LinkButton ID="lbDelete" OnClientClick="return confirm('您确定要删除吗？');" runat="server" CommandName="Delete" CommandArgument='<%#Eval("Id")%>'>删除</asp:LinkButton>
                
            </td>
            <td>
                <a href="ESI_TBConfigCopy.aspx?ProcessName=<%#Eval("ProcessName")%>&StepName=<%#Eval("StepName")%>" >复制步骤</a>
            </td>             
            </tr></ItemTemplate>
            </asp:Repeater>
        </table>

         <asp:Button ID="btnAdd" runat="server" Text="新增" onclick="btnAdd_Click" />
    </div>
    </form>
</body>
</html>
